home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / enscript.4 / enscript / enscript-1.4.0 / compat / dummypwd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-27  |  1.2 KB  |  47 lines

  1. /* 
  2.  * Replacement for the pwd.h header file for micro ports.
  3.  * Copyright (c) 1996 Markku Rossi.
  4.  *
  5.  * Author: Markku Rossi <mtr@iki.fi>
  6.  */
  7.  
  8. /*
  9.  * This file is part of GNU enscript.
  10.  * 
  11.  * This program is free software; you can redistribute it and/or modify
  12.  * it under the terms of the GNU General Public License as published by
  13.  * the Free Software Foundation; either version 2, or (at your option)
  14.  * any later version.
  15.  *
  16.  * This program is distributed in the hope that it will be useful,
  17.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19.  * GNU General Public License for more details.
  20.  *
  21.  * You should have received a copy of the GNU General Public License
  22.  * along with this program; see the file COPYING.  If not, write to
  23.  * the Free Software Foundation, 59 Temple Place - Suite 330,
  24.  * Boston, MA 02111-1307, USA.
  25.  */
  26.  
  27. #ifndef DUMMYPWD_H
  28. #define DUMMYPWD_H
  29.  
  30. /* Passwd structure. */
  31. struct passwd
  32. {
  33.   char *pw_name;
  34.   char *pw_gecos;
  35.   char *pw_dir;
  36. };
  37.  
  38. /*
  39.  * Prototypes for passwd related functions.
  40.  */
  41.  
  42. struct passwd *getpwuid ();
  43.  
  44. struct passwd *getpwnam ();
  45.  
  46. #endif /* DUMMYPWD_H */
  47.